Skip to content

Comments

chore(deps): bump modal from 0.64.192 to 0.73.10#446

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/modal-0.73.10
Closed

chore(deps): bump modal from 0.64.192 to 0.73.10#446
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/modal-0.73.10

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 4, 2025

Bumps modal from 0.64.192 to 0.73.10.

Changelog

Sourced from modal's changelog.

0.73.10 (2025-02-04)

  • Modal functions, methods and entrypoints can now accept variable-length arguments to skip Modal's default CLI parsing. This is useful if you want to use Modal with custom argument parsing via argparse or HfArgumentParser. For example, the following function can be invoked with modal run my_file.py --foo=42 --bar="baz":

    import argparse
    @​app.function()
    def train(*arglist):
    parser = argparse.ArgumentParser()
    parser.add_argument("--foo", type=int)
    parser.add_argument("--bar", type=str)
    args = parser.parse_args(args = arglist)


0.73.1 (2025-01-30)

  • modal run now runs a single local entrypoints/function in the selected module. If exactly one local entrypoint or function exists in the selected module, the user doesn't have to qualify the runnable in the modal run command, even if some of the module's referenced apps have additional local entrypoints or functions. This partially restores "auto-inferred function" functionality that was changed in v0.72.48.

0.73.0 (2025-01-30)

  • Introduces an include_source argument in the App.function and App.cls decorators that let users configure which class of python packages are automatically included as source mounts in created modal functions/classes (what we used to call "automount" behavior). This will supersede the MODAL_AUTOMOUNT configuration value which will eventually be deprecated. As a convenience, the modal.App constructor will also accept an include_source argument which serves as the default for all the app's functions and classes.

    The include_source argument accepts the following values:

    • True (default in a future version of Modal) Automatically includes the Python files of the source package of the function's own home module, but not any other local packages. Roughly equivalent ot MODAL_AUTOMOUNT=0 in previous versions of Modal.
    • False - don't include any local source. Assumes the function's home module is importable in the container environment through some other means (typically added to the provided modal.Image's Python environment).
    • None (the default) - use current soon-to-be-deprecated automounting behavior, including source of all first party packages that are not installed into site-packages locally.
  • Minor change to MODAL_AUTOMOUNT=0: When running/deploying using a module path (e.g. modal run mypak.mymod), all non .pyc files of the source package (mypak in this case) are now included in the function's container. Previously, only the function's home .py module file + any __init__.py files in its package structure were included. Note that this is only for MODAL_AUTOMOUNT=0. To get full control over which source files are included with your functions, you can set include_source=False on your function (see above) and manually specify the files to include using the ignore argument to Image.add_local_python_source.

0.72.56 (2025-01-28)

  • Deprecated .lookup methods on Modal objects. Users are encouraged to use .from_name instead. In most cases this will be a simple name substitution. See the 1.0 migration guide for more information.

0.72.54 (2025-01-28)

  • Fixes bug introduced in v0.72.48 where modal run didn't work with files having global Function.from_name()/Function.lookup()/Cls.from_name()/Cls.lookup() calls.

0.72.48 (2025-01-24)

</tr></table>

... (truncated)

Commits
  • 161fbfd [auto-commit] [skip ci] Bump the build number
  • 6951dc1 Accept variable-length arguments for custom argument parsing (#2807)
  • c85b71a [auto-commit] [skip ci] Bump the build number
  • 76a3f59 Adds experimental support for GPU memory snapshots (#2829)
  • 9cf6409 [auto-commit] [skip ci] Bump the build number
  • 6a2791f Adds experimental GPU snapshotting flag (#2830)
  • d924202 [auto-commit] [skip ci] Bump the build number
  • bf29af2 Rename confusingly overlapping variable name (#2742)
  • 93eee17 [auto-commit] [skip ci] Bump the build number
  • d683623 Remove 0.62 lookup compatibility code from classes (#2823)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [modal](https://github.com/modal-labs/modal-client) from 0.64.192 to 0.73.10.
- [Changelog](https://github.com/modal-labs/modal-client/blob/main/CHANGELOG.md)
- [Commits](modal-labs/modal-client@v0.64.192...v0.73.10)

---
updated-dependencies:
- dependency-name: modal
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 4, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 5, 2025

Superseded by #449.

@dependabot dependabot bot closed this Feb 5, 2025
@dependabot dependabot bot deleted the dependabot/pip/modal-0.73.10 branch February 5, 2025 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants